﻿<Window x:Class="XAMLGraphics.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="235" Width="282">
    <Canvas>
        <Rectangle Fill="Purple" Canvas.Left="120"  Width="50" Height="10" Canvas.Top="70" RadiusX="5" RadiusY="5"/>
        <Rectangle Fill="Pink" Canvas.Left="155"  Width="10" Height="50" Canvas.Top="105" RadiusX="5" RadiusY="5">
            <Rectangle.RenderTransform>
                <RotateTransform Angle="135"/>
            </Rectangle.RenderTransform>
        </Rectangle>
        <Rectangle Fill="Blue" Canvas.Left="110"  Width="10" Height="50" Canvas.Top="70" RadiusX="5" RadiusY="5"/>
        <Rectangle Fill="LightBlue" Canvas.Left="110"  Width="10" Height="50" Canvas.Top="60" RadiusX="5" RadiusY="5">
            <Rectangle.RenderTransform>
                <RotateTransform Angle="45"/>
            </Rectangle.RenderTransform>
        </Rectangle>
        <Rectangle Fill="Green" Canvas.Left="70"  Width="50" Height="10" Canvas.Top="60" RadiusX="5" RadiusY="5"/>
        <Rectangle Fill="Yellow" Canvas.Left="127"  Width="10" Height="50" Canvas.Top="62" RadiusX="5" RadiusY="5">
            <Rectangle.RenderTransform>
                <RotateTransform Angle="135"/>
            </Rectangle.RenderTransform>
        </Rectangle>
        <Rectangle Fill="Orange" Canvas.Left="120"  Width="10" Height="50" Canvas.Top="20" RadiusX="5" RadiusY="5"/>
        <Rectangle Fill="Red" Canvas.Left="154"  Width="10" Height="50" Canvas.Top="35" RadiusX="5" RadiusY="5">
            <Rectangle.RenderTransform>
                <RotateTransform Angle="45"/>
            </Rectangle.RenderTransform>
        </Rectangle>
    </Canvas>
</Window>
